﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebAppAsp_PrimerPrograma
{
    public partial class MiprimerPrograma : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Label3.Visible = false;
            txtEdad.Visible = false;                        
         
        }

        protected void CheckB_edadMenor18_CheckedChanged(object sender, EventArgs e)
        {
            if (CheckB_edadMenor18.Checked)
            {
                Label3.Visible = true;
                txtEdad.Visible = true;
            }
            else {
                Label3.Visible = false;
                txtEdad.Visible = false;                        
            }
        }
    }
}